<template>
  <div id="app">
    <keep-alive>
      <router-view v-if="$route.meta.keepAlive"></router-view>
    </keep-alive>
    <router-view v-if="!$route.meta.keepAlive"></router-view>
  </div>

</template>

<script>
export default {
  name: "app"
};
</script>

<style lang="less">
@import url("./assets/css/base.css");
#app {
  height: 100%;
  // overflow-y: hidden;
  font-family: "Avenir", Helvetica, Arial, sans-serif;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  font-size: 16px;
}
button {
  width: 280px;
  height: 48px;
  border-radius: 24px;
  background: linear-gradient(
    180deg,
    rgba(255, 221, 221, 1),
    rgba(255, 131, 166, 1)
  );
  color: #fff;
  margin: 45px auto;
  font-size: 20px;
}
</style>
